package fun.sanguo.service.interact;

import fun.sanguo.model.dto.PageInsert;
import fun.sanguo.model.dto.interact.InteractPersonageViewInsert;
import fun.sanguo.utils.exception.ArtificialException;

/**
 * 互动-人物浏览记录表 Service接口
 *
 * @author ZYP
 * @date 2023-10-13
 */
public interface InteractPersonageViewService {

    /**
     * 新增
     *
     * @param pageInsert
     * @param userId
     * @param userIp
     * @return
     * @throws ArtificialException
     */
    boolean insert(PageInsert<InteractPersonageViewInsert> pageInsert, String userId, String userIp) throws ArtificialException;
}
